package com.lnking.lnkingplace.service;

import com.lnking.lnkingplace.model.entity.Suggest;
import com.lnking.lnkingplace.model.request.suggest.SuggestAddRequest;
import com.lnking.lnkingplace.model.request.suggest.SuggestSearchRequest;
import com.lnking.lnkingplace.model.request.suggest.SuggestUpdateRequest;
import com.lnking.starter.mybatis.service.ICustomService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhangqt
 * @since 2022-08-19
 */
public interface ISuggestService extends ICustomService<Suggest> {

    /**
     * 创建
     * @param params
     */
    void add(SuggestAddRequest params) throws Exception;

    /**
     * 更新
     * @param params
     */
    void update(SuggestUpdateRequest params) throws Exception;

    /**
     * 回复建议
     * @param id
     * @param answer
     */
    void updateAnswer(String id,String answer);
}
